/*
 * @Descripttion: 邀约表单
 * @version: V1.0
 * @Author: GW
 * @Date: 2021-09-16 11:25:45
 * @LastEditors: GW
 * @LastEditTime: 2021-11-09 10:10:10
 */
import { axios } from "../../utils/request";

//保存表单
export function saveFrom(data) {
    return axios({
        url: '/crm/invitationForm/saveCrmFiled',
        method: "post",
        data: data
    });
}
//获取表单列表
export function getListFrom(data) {
    return axios({
        url: '/crm/invitationForm/getFromList',
        method: "get",
        params: data
    });
}
//删除表单
export function removeFrom(data) {
    return axios({
        url: '/crm/invitationForm/deleteForm',
        method: "delete",
        params: data
    });
}




//获取表单字段列表
// export function getFiles (data) {
//     return axios({
//         url: '/crm/invitationForm/getFormFieldList',
//         method: "get",
//         params: data
//     });
// }
//获取表单详情
export function getFilesDetail(data) {
    return axios({
        url: '/crm/invitationForm/getDetail',
        method: "get",
        params: data
    });
}
//保存表单数据
export function saveFilesData(data) {
    return axios({
        url: '/crm/invitationForm/save',
        method: "post",
        data: data
    });
}
//发送验证码
export function sendSms(data) {
    return axios({
        url: '/crm/invitationForm/sendSms',
        method: "post",
        data: data
    });
}




//获取表单数据列表
export function getFilesList(data) {
    return axios({
        url: '/crm/invitationForm/pageList',
        method: "get",
        params: data
    });
}


